text/template/parse.item.line (field)
12 uses
text/template/parse (current package)
lex.go#L19: line int // The line number at the start of this item.
parse.go#L163: format = fmt.Sprintf("template: %s:%d: %s", t.ParseName, t.token[0].line, format)
parse.go#L194: if t.actionLine != 0 && t.actionLine != token.line {
parse.go#L372: t.actionLine = token.line
parse.go#L399: return t.breakControl(token.pos, token.line)
parse.go#L401: return t.continueControl(token.pos, token.line)
parse.go#L418: return t.newAction(token.pos, token.line, t.pipeline("command", itemRightDelim))
parse.go#L456: pipe = t.newPipeline(token.pos, token.line, nil)
parse.go#L617: return t.newElse(peek.pos, peek.line)
parse.go#L620: return t.newElse(token.pos, token.line)
parse.go#L650: return t.newTemplate(token.pos, token.line, name, pipe)
parse.go#L669: return t.newTemplate(token.pos, token.line, name, pipe)